﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShiBieProject
{
    class AmountMultipliedByTaxRate
    {
        public static string getTaxAmounts(decimal money,decimal taxrate) {
            decimal taxamount = Math.Round((money * taxrate)/100, 2, MidpointRounding.ToEven);// MidpointRounding.ToEven;
            string taxamounts = Convert.ToString(taxamount); 
            return taxamounts;
        }
    }
}
